package com.meilai.project.controller.mini.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author 张驰
 * @description 小程序-返回符合的项目VO
 * @date 2022-08-31 09:14
 */
@Data
public class MiniBuildingVO {
    @ApiModelProperty("楼盘id")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("纬度")
    private BigDecimal lat;

    @ApiModelProperty("经度")
    private BigDecimal lng;

    @ApiModelProperty("照片")
    private String photo;

    @ApiModelProperty("楼栋数")
    private Integer building;

    @ApiModelProperty("单元数")
    private Integer unit;

    @ApiModelProperty("可用点位数")
    private Integer can = 0;

    @ApiModelProperty("各类型的可用点位数")
    private Map<Long, Long> mt_can;

    @ApiModelProperty("总点位数")
    private Integer all;

    @ApiModelProperty("距离")
    private BigDecimal dis;
}
